package mlz.c_genericity.d_wild;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

//限制泛型的可用范围
//Collection(I) -> List(I) -> ArrayList
//Map -> HashMap
public class ListClass<T extends List> {

    public static void main(String[] args) {
        ListClass<ArrayList> aClass = new ListClass<>();

        //ListClass<HashMap> aClass1 = new ListClass<>();


    }
}


